$(function(){

  // Bind the event.
  $(window).hashchange( function(){
    // Alerts every time the hash changes!
    if(location.hash == "") {
    	alert("Lista");
    } else {
    	alert( location.hash );
    }
  })

  // Trigger the event (useful on page load).
  $(window).hashchange();

});
